<template>
  <div>
    <el-form :inline="true" :model="formInline" class="demo-form-inline">
      <el-form-item label="姓名">
        <el-input v-model="formInline.user" placeholder="审批人"></el-input>
      </el-form-item>
      <el-form-item label="区域">
        <el-select v-model="formInline.region" placeholder="选择区域">
          <el-option label="区域一" value="shanghai"></el-option>
          <el-option label="区域二" value="beijing"></el-option>
        </el-select>
      </el-form-item>
      <el-form-item>
        <el-button type="primary" @click="onSubmit">查询</el-button>
      </el-form-item>
    </el-form>
    <!-- <el-row :gutter="24">
      <el-col :span="6">
        <el-form-item label="事件标题">
          <el-input></el-input>
        </el-form-item>
      </el-col>
    </el-row> -->
    <el-table :data="tableData" stripe style="width: 100%">
      <el-table-column prop="name" label="名字" width="180"> </el-table-column>
      <el-table-column prop="address" label="区域" width="180">
      </el-table-column>
      <el-table-column prop="date" label="可新增数量" width="180">
      </el-table-column>
      <el-table-column prop="date1" label="注销数量" width="180">
      </el-table-column>
      <el-table-column prop="date2" label="吊销数量" width="180">
      </el-table-column>
      <el-table-column prop="date3" label="过期数量" width="180">
      </el-table-column>
      <el-table-column prop="date4" label="合计"> </el-table-column>
    </el-table>
  </div>
</template>

<script>
export default {
  data() {
    return {
      tableData: [
        {
          name: "小小",
          address: "流水",
          date: "12",
          date1: "34",
          date2: "45",
          date3: "44",
          date4: "11"
        },
        {
          name: "分段",
          address: "东奥",
          date: "45",
          date1: "55",
          date2: "66",
          date3: "55",
          date4: "454"
        },
        {
          name: "通融通融",
          address: "苏澳",
          date: "65",
          date1: "54",
          date2: "22",
          date3: "34",
          date4: "54"
        }
      ],
      formInline: {
        user: "",
        region: ""
      }
    };
  },
  methods: {
    onSubmit() {
      console.log("submit!");
    }
  }
};
</script>
